import KZJRequest from '../index'
import { TRequestDefaultResult } from '../type'

enum Friends {
  users = '/user/follows' // 歌曲
}

export function getFriends(uid: number) {
  return KZJRequest.get<TRequestDefaultResult>({
    url: Friends.users,
    params: { uid },
    showLoading: true
  })
}
